package com.wzq.permission.center.mapper;

import java.util.List;

import com.wzq.permission.client.model.admin.ApplicationUserModel;
import com.wzq.permission.client.model.admin.UserRoleModel;

/**
 * ApplicationUser Mapper
 * @author Administrator
 *
 */
public interface ApplicationUserMapper extends BaseMapper {
	
	/**
	 * 批量插入记录
	 * @param list
	 * @return
	 */
	int addBatch(List<ApplicationUserModel> list);
	
	/**
	 * 根据用户删除系统关联
	 * @param userId
	 */
	void deleteByUserId(Long userId);
	
	/**
	 * 根据用户ID查询用户系统信息
	 * @param userId
	 * @return
	 */
	List<ApplicationUserModel> queryUserApplication(Long userId);
}
